package com.ruoyi.user.domain.dto;

import com.ruoyi.common.base.BaseDTO;
import com.ruoyi.common.core.domain.entity.AppUser;
import com.ruoyi.common.core.domain.model.LoginAppUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 用户账号对象 app_user_account
 *
 * @author ghostmen
 * @date 2024-11-02
 */
@Data
@ApiModel(value = "AppUserAccountUpdateDTO对象", description = "用户账号对象")
public class AppUserAccountUpdateDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 账号id
     */
    @NotNull(message = "账号id不能为空")
    @ApiModelProperty(value = "账号id", required = true)
    private Long accountId;
    /**
     * 游戏id
     */
    @NotBlank(message = "游戏id不能为空")
    @ApiModelProperty(value = "游戏id", required = true)
    private String gameId;

    /**
     * 角色职业id
     */
    @NotNull(message = "角色职业id不能为空")
    @ApiModelProperty(value = "角色职业id", required = true)
    private Long roleId;

    /**
     * 心法id
     */
    @ApiModelProperty(value = "心法id", required = false, hidden = true)
    private Long xinfaId;

    /**
     * 心法
     */
    @ApiModelProperty(value = "心法", required = false, hidden = true)
    private String xinfa;

    /**
     * 服务器id
     */
    @NotNull(message = "服务器id不能为空")
    @ApiModelProperty(value = "服务器id", required = true)
    private Long serverId;

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    @ApiModelProperty(value = "账号", required = true)
    private String account;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

}
